<?php

return [
    'autoload' => false,
    'hooks' => [
        'app_init' => [
            0 => 'cloudstore',
            1 => 'epay',
        ],
        'upload_init' => [
            0 => 'cloudstore',
        ],
        'sms_send' => [
            0 => 'easysms',
        ],
        'sms_notice' => [
            0 => 'easysms',
        ],
        'sms_check' => [
            0 => 'easysms',
        ],
        'app_exception_report' => [
            0 => 'error500',
        ],
        'admin_exception_report' => [
            0 => 'error500',
        ],
        'admin_exception' => [
            0 => 'error500',
        ],
        'app_exception' => [
            0 => 'error500',
        ],
        'ems_send' => [
            0 => 'faems',
        ],
        'ems_notice' => [
            0 => 'faems',
        ],
        'admin_login_init' => [
            0 => 'loginbg',
        ],
    ],
    'route' => [
        '/500$' => 'error500/index/error500',
        '/404$' => 'error500/index/error404',
        '/example$' => 'example/index/index',
        '/example/d/[:name]' => 'example/demo/index',
        '/example/d1/[:name]' => 'example/demo/demo1',
        '/example/d2/[:name]' => 'example/demo/demo2',
        '/qrcode$' => 'qrcode/index/index',
        '/qrcode/build$' => 'qrcode/index/build',
        '/third.html$' => 'third/index/index',
        '/third/connect/[:platform]' => 'third/index/connect',
        '/third/callback/[:platform]' => 'third/index/callback',
        '/third/bind/[:platform]' => 'third/index/bind',
        '/third/unbind/[:platform]' => 'third/index/unbind',
        0 => [
            'addon' => 'cloudstore',
            'domain' => 'http://XXX',
            'rule' => [
            ],
        ],
    ],
    'service' => [
        0 => 'addons\\crontab\\service\\CommandService',
    ],
];